html,
body {
    width: 100%;
    height: 100%;
}

body {
    display: flex;
    /* 设置主轴方向为竖着的 */
    flex-direction: column;

}

#header {
    height: 1.8rem;
}

#main {
    /* height: 9.28rem; */
    flex: 1;
    overflow: auto;
}

#footer {
    height: 1.05rem;
}

/* 页头 */
#header {
    padding: 0.3rem 0.3rem 0.2rem 0.3rem;
    background-color: #E94544;
}

#header .address {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
    color: #fff;
    font-size: 0.26rem;
}

#header .address a {
    flex-grow: 1;
    color: #fff;
    font-size: 0.26rem;
}

#header .icon-dizhi {
    flex-grow: 0;
    font-size: 0.2rem;
}

#header .icon-xiaoyu-copy {
    font-size: 0.22rem;
    font-weight: 900;
}

#header .icon-shouye1 {
    flex-grow: 0;
    font-size: 0.4rem;
}

#header .search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 0.6rem;
    margin-bottom: 0.2rem;
    background-color: #fff;
    border-radius: 0.3rem;
}

#header .search input {
    width: 5.3rem;
    height: 0.4rem;
    padding: 0.1rem;
    border: none;
    outline: none;
}

#header .search input::placeholder {
    color: #898989;
    font-size: 0.24rem;
}

#header .search .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0.7rem;
    height: 100%;
}

#header .search .icon .icon-sousuo {
    color: #8f8f8f;
    font-size: 0.32rem;
}

/* 轮播区 */
#header .search .icon .icon-erweima2 {
    color: #eb5352;
    font-size: 0.24rem;
}

#banner {
    margin-bottom: 0.15rem;
}

#banner img {
    width: 100%;
    height: 2.4rem;
}

/* 头条 */
#topLine ul {
    display: flex;
    justify-content: space-around;
    margin-bottom: 0.2rem;
}

#topLine li {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 0.95rem;
}

#topLine li a {
    margin-top: 0.14rem;
    color: #000;
    font-size: 0.22rem;
}

#topLine li div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0.77rem;
    height: 0.77rem;
    border-radius: 50%;
}

#topLine li:nth-child(1) div {
    background: linear-gradient(#fbd92b, #ff9d00);
}

#topLine li:nth-child(1) div span {
    color: #fff;
    font-size: 0.61rem;
}

#topLine li:nth-child(2) div {
    background: linear-gradient(#53c256, #7fd465);
}

#topLine li:nth-child(2) div span {
    color: #fff;
    font-size: 0.61rem;
}

#topLine li:nth-child(3) div {
    background: linear-gradient(#ea725d, #df4959);
}

#topLine li:nth-child(3) div span {
    color: #fff;
    font-size: 0.61rem;
}

#topLine li:nth-child(4) div {
    background: linear-gradient(#4c82f8, #185ed7);
}

#topLine li:nth-child(4) div span {
    color: #fff;
    font-size: 0.61rem;
}

#topLine li:nth-child(5) div {
    background: linear-gradient(#bfe39f, #6bb7ee);
}



#topLine li:nth-child(5) div span {
    color: #fff;
    font-size: 0.61rem;
}

/* 全球精选 */
#or {
    margin-bottom: 0.3rem;
}

#or img {
    width: 100%;
    height: 1.55rem;
}

/* 公告 */
#notice {
    margin-bottom: 0.35rem;
    padding: 0 0.2rem;
}

#notice div:nth-child(1) {
    display: flex;
    flex-direction: row;
}

#notice div:nth-child(1) h3 {
    margin: 0 0.2rem 0.15rem 0.1rem;
    color: #e94544;
    font-size: 0.24rem;
}

#notice div:nth-child(1) span {
    color: #333;
    font-size: 0.24rem;
}

#notice div:nth-child(2) {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 0.8rem;
    border-radius: 0.2rem;
    background: #fff8ee;
}

#notice div:nth-child(2) span {
    color: #e94544;
    font-size: 0.21rem;
}

#notice div:nth-child(2) .icon-duigouzhong {
    margin: -0.03rem 0.03rem 0 0;
    font-size: 0.28rem;
}

/* 28分钟快送 */
#eight {
    display: flex;
    justify-content: space-around;
    margin: 0 0 0.5rem 0;
}

#eight .two>div:nth-child(1) {
    height: 0.25rem;
    margin-bottom: 0.18rem;
    background: #ff5a60;
    border-radius: 0.15rem 0 0.15rem 0;
    color: #fff;
    font-size: 0.18rem;
    text-align: center;
    line-height: 0.25rem;
}

#eight .two>div:nth-child(2) {
    margin: 0 0 0.12rem 0.25rem;
}

#eight div a {
    color: #000;
    font-size: 0.28rem;
}

#eight .two>div:nth-child(3) {
    margin-left: 0.25rem;
    color: #9a9a9a;
    font-size: 0.22rem;
}

#eight div:nth-child(2) {
    margin-top: 0.2rem;
}

#eight div:nth-child(4) {
    margin-top: 0.2rem;
}

#eight div:nth-child(4) img {
    height: 1.15rem;
}

/* 感冒发烧区 */
#cold ul {
    display: flex;
    justify-content: space-around;
    margin-bottom: 0.42rem;
}

#cold ul:nth-child(2) {
    margin-bottom: 0;
    padding-bottom: 0.42rem;
    border-bottom: 0.01rem solid #efeff4;
}

#cold li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 1.05rem;
    height: 1.11rem;
}

#cold li div {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #f1f1f1;
    text-align: center;
    line-height: 0.7rem;
}

#cold li div:hover {
    background: #e94544;
}

#cold li a {
    font-size: 0.25rem;
}

#cold li a:hover {
    color: #e94645;
}

#cold li span {
    font-size: 0.45rem;
}

#cold li div .icon-wenduji {
    color: #f0bd86;

}

#cold li div .icon-yezi {
    color: #a7ca86;

}

#cold li div .icon-fei {
    color: #ef8a8a;

}

#cold li div .icon-chuangketie1 {
    color: #b395ed;

}

#cold li div .icon-wei {
    color: #ef8a8a;

}

#cold li div .icon-lingdang {
    color: #eaa9c5;

}

#cold li div .icon-yaoping {
    color: #ef8a8a;

}

#cold li div .icon-yaoping1 {
    color: #a2c383;

}

/* 暖宝宝区 */
#warm {
    display: flex;
    margin: 0.3rem 0;
    padding: 0 0.2rem;
}

#warm img {
    width: 100%;
    height: 2.48rem;
    margin-right: 0.2rem;
}

#warm div>div:nth-child(1) {
    display: flex;
    justify-content: center;
    margin-bottom: 0.25rem;
}

#warm div>div:nth-child(1):nth-child(1) div {
    height: 0.32rem;
    margin-right: 0.05rem;
    background: #ff5a5f;
    color: #fff;
    font-size: 0.18rem;
    border-radius: 0.08rem;
    line-height: 0.32rem;
}

#warm div>div:nth-child(1):nth-child(1) h3 {
    font-size: 0.25rem;
}

#warm div>div:nth-child(2) {
    margin-bottom: 0.2rem;
    color: #888;
    font-size: 0.23rem;
    line-height: 0.28rem;
}

#warm div>div:nth-child(3) {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.2rem;
}

#warm div>div:nth-child(3) button {
    padding: 0.05rem 0.1rem;
    border: 0.01rem solid #e94645;
    background: #fff;
    color: #e94645;
    font-size: 0.19rem;
    border-radius: 0.05rem;
}

#warm div>div:nth-child(3) button:hover {
    color: #fff;
    background-color: #e94645;
}

#warm div>div:nth-child(4) {
    display: flex;
    justify-content: space-between;
    color: #e94544;
    font-size: 0.24rem;
}

#warm div>div:nth-child(4) span {
    margin-left: 0.12rem;
    color: #8c8c8c;
    font-size: 0.16rem;
    text-decoration: line-through;
}

#warm div>div:nth-child(4) .icon-gouwuche2 {
    background: #e94544;
    color: #fff;
    font-size: 0.48rem;
    text-decoration: none;
    border-radius: 50%;
}

#warm div>div:nth-child(4) .icon-gouwuche2:hover {
    color: #e94645;
    background: #fff;
}

/* 广告区 */
#ad {
    margin-bottom: 0.21rem;
}

#ad img {
    width: 100%;
    height: 3.08rem;
}

/* 页脚 */
#footer {
    border-top: 0.01rem solid #dddddd;
    box-shadow: 0.03rem 0.03rem 0.03rem #ccc;
}

#footer ul {
    height: 1.05rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #7f8389;
}

#footer li:hover {
    color: #e94645;
}

#footer li div {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

#footer li div:nth-child(1) span {
    font-size: 0.42rem;
}

#footer li div:nth-child(2) a {
    color: #7f8389;
    font-size: 0.2rem;
}

#footer li div:nth-child(2) a:hover {
    color: #e94645;
}